package cn.app.dao.MerchandiseDisplay;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.app.entity.Commodity;

public interface MerchandiseDisplayDao {

	List<Commodity> query();

	int addGoods(Commodity commodity);

	

	void addToShoppingCart(Commodity listCommodity);

	Commodity queryId(Commodity commodity);

	List<Commodity> ShoppingCartandName(@Param("username")String username);


	/*int addGoods(@Param("name")String name, @Param("money")double money,@Param("logolocpath") String logolocpath, @Param("pic")String pic);*/
	
}
